package system.student.entity.user;

public class UserInfo {
    private Long id;
    private UserType userType;
    private String username;
    private String password;
    private String phone;
    private String email;
    private Integer state;

    public UserType getUserType() {
        return userType;
    }

    public void setUserType(UserType userType) {
        this.userType = userType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public UserInfo(Long id, UserType userType, String username, String password, String phone) {
        this.id = id;
        this.userType = userType;
        this.username = username;
        this.password = password;
        this.phone = phone;
    }
    public UserInfo(String username, String password, String phone) {
        this.username = username;
        this.password = password;
        this.phone = phone;
    }


    public UserInfo(String username, String password, String phone,String email) {
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.email = email;
    }


    public UserInfo() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
